<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>123-document相关取值.html</title>
</head>
<body>
	
</body>
<script>
	console.log(document.compatMode);
	console.log("document.documentElement",document.documentElement);
	console.log(document.documentElement ===document.querySelector("html"));
	console.log(document.body);
	console.log(document.body ===document.querySelector("body"));
</script>
</html>